package edu.ccut.saturn.basecomponent.dataoperationcomponent;

import edu.ccut.saturn.component.DefaultComponent;
import edu.ccut.saturn.component.IParameterContext;
import edu.ccut.saturn.component.SaturnData;
import edu.ccut.saturn.component.SaturnDataManager;

public class CreateSaturnData extends DefaultComponent {
	@Override
	public void execute(IParameterContext parameterContext) throws Exception {
		String fullkey =(String)parameterContext.getParameterValue(0);
		SaturnData saturnData = SaturnDataManager.getInstance()
		.createData(fullkey);
		parameterContext.setParameter(1, saturnData);
	}
}